package com.zztl.infiniteBand.util.timer

import java.util.*

/**
 * Created by yannable on 2018/1/18.
 */

class BaseTimerTask(timerListener: ITimerListener) : TimerTask() {

     var  mITimerListener: ITimerListener

    init {
        this.mITimerListener = timerListener
    }

    override fun run() {
        mITimerListener?.onTimer()
    }
}
